projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
457bf3b
)
placessiderbar: Fix sunny compilation
author
Benjamin Otte
<otte@redhat.com>
Mon, 13 Nov 2017 22:44:26 +0000
(23:44 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Mon, 13 Nov 2017 22:45:18 +0000
(23:45 +0100)
Make compilation not warn about unused variables when compiling with
HAVE_CLOUDPROVIDERS undefined.
gtk/gtkplacessidebar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkplacessidebar.c
b/gtk/gtkplacessidebar.c
index 247d1b4d2918d6b62acc311a9b14d59063da8b70..acd866f15887156c8a20c5464b411fbcb43530b7 100644
(file)
--- a/
gtk/gtkplacessidebar.c
+++ b/
gtk/gtkplacessidebar.c
@@
-4367,10
+4367,10
@@
gtk_places_sidebar_dispose (GObject *object)
static void
gtk_places_sidebar_finalize (GObject *object)
{
+#ifdef HAVE_CLOUDPROVIDERS
GtkPlacesSidebar *sidebar;
sidebar = GTK_PLACES_SIDEBAR (object);
-#ifdef HAVE_CLOUDPROVIDERS
g_clear_object (&sidebar->cloud_manager);
#endif